package com.manlost.biz.tag.model.dataobject;

import com.manlost.biz.baby.model.constants.BabyType;
import com.manlost.biz.tag.model.constants.TagType;

/**
 * 类BabyTagAccoutRelation.java的实现描述：TODO 类实现描述
 * 
 * @author xiaochuan.luxc 2012-3-29 下午11:27:14
 */
public class BabyTagAccoutRelation {

    private Long   id;
    private Long   babyId;
    private Long   tagId;
    private Long   accountId;
    private String tagType;
    private String babyType;

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the babyId
     */
    public Long getBabyId() {
        return babyId;
    }

    /**
     * @param babyId the babyId to set
     */
    public void setBabyId(Long babyId) {
        this.babyId = babyId;
    }

    /**
     * @return the tagId
     */
    public Long getTagId() {
        return tagId;
    }

    /**
     * @param tagId the tagId to set
     */
    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    /**
     * @return the accountId
     */
    public Long getAccountId() {
        return accountId;
    }

    /**
     * @param accountId the accountId to set
     */
    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    /**
     * @return the tagType
     */
    public String getTagType() {
        return tagType;
    }

    /**
     * @param tagType the tagType to set
     */
    public void setTagType(String tagType) {
        this.tagType = tagType;
    }

    public void setTagType(TagType tagType) {
        this.tagType = tagType.getValue();
    }

    /**
     * @return the babyType
     */
    public String getBabyType() {
        return babyType;
    }

    /**
     * @param babyType the babyType to set
     */
    public void setBabyType(String babyType) {
        this.babyType = babyType;
    }

    public void setBabyType(BabyType babyType) {
        this.babyType = babyType.getValue();
    }

}
